
#ifndef CONTENTBOARD_H
#define CONTENTBOARD_H

#include <BEntry>
#include <BSpinBox>
#include <BLineEdit>
#include <BLabel>
#include <BRadioBox>
#include <BGroupBox>

using namespace BWE;

class ContentBoard : public BGroupBox
{
	BOBJECT(ContentBoard);
public:
	ContentBoard(BWidget* parent = 0);
	~ContentBoard();

	virtual BSize sizeHint() const;

protected:
	bool checkImage(const BEntry* entry) const;

protected:
	void slotAssetChanged(BObject* object, const BValue& value);
	void slotButtonGroupClicked(BObject* object, const BValue& value);

protected:
	BLabel*			_label;
	BRadioBox*		_lightRadioBox;
	BRadioBox*		_darkRadioBox;
};

#endif
